<?php
class ErweimaModel extends Model{
		protected $_validate=array(
				array('name','require','商品名称必须'),
				array('code','require','二维码必须'),
		);
	}
?>